package com.gui.mianshiya.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

/**
 * @Title: ExerciseRecords
 * @Author quit
 * @Package com.gui.mianshiya.model.entity
 * @Date 2025/4/23 15:02
 * @description: 刷题记录表
 */
@Data
@TableName(value ="exercise_records")
public class ExerciseRecords {
    /**
     * id
     */
    @TableId(type = IdType.ASSIGN_ID)
    private Long id;

    /**
     * 创建用户 id
     */
    private Long userId;

    /**
     * 创建题目 id
     */
    private Long questionId;

    /**
     * 刷题次数
     */
    private Long totalCount;


    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 更新时间
     */
    private Date updateTime;

    /**
     * 是否删除
     */


    @TableLogic
    private Integer isDelete;
}
